package com.vdong.trade.order.entity.dto.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.Date;

/**
 * @author llh
 * Created on 2018/06/14.
 */

@Data

public class AppUserMainDTO {
    private Long id;
    private Long storeId;
    @ApiModelProperty("创建时间")
    private Date createDate;
    @ApiModelProperty("账号角色；1：店铺管理员；2：讲师；3：读者")
    private Byte roleId;
    @ApiModelProperty("头像地址")
    private String headUrl;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("用户编号")
    private String code;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("微信openid")
    private String wxOpenid;
    private String wxUnionid; // 微信unionid
    @ApiModelProperty("用户账号")
    private String username;
}
